package com.yidu.drug.model;

import java.io.Serializable;
import java.util.Date;

import com.yidu.drug.common.Page;
import com.yidu.drug.common.Tools;

public class DrugTypeModel implements Serializable {
    private String dtId;

    private String pid;

    private String dtName;

    private String isva;

    private Date cztime;

    private String operator;

    private Integer sort;

    private static final long serialVersionUID = 1L;
    
    private Page page;
    
    private String time;
    
    

    public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public String getTime() {
		time=Tools.getTimeStr(cztime);
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getDtId() {
        return dtId;
    }

    public void setDtId(String dtId) {
        this.dtId = dtId;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getDtName() {
        return dtName;
    }

    public void setDtName(String dtName) {
        this.dtName = dtName;
    }

    public String getIsva() {
        return isva;
    }

    public void setIsva(String isva) {
        this.isva = isva;
    }

    public Date getCztime() {
        return cztime;
    }

    public void setCztime(Date cztime) {
        this.cztime = cztime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}